//
//  AlertViewController.swift
//  CompareBuying
//
//  Created by 唐先才 on 16/2/29.
//  Copyright © 2016年 唐先才. All rights reserved.
//

import UIKit

class AlertViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        let alertView = UIAlertController(title: "提示", message: "网络连接失败", preferredStyle: .Alert)
        alertView.addAction(UIAlertAction(title: "确定", style: .Default, handler: { (UIAlertAction) -> Void in
            
        }))
        self.view.addSubview(alertView.view)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}
